for x in range(1, 10):
    for y in range(1, x):
        print("{}*{}={} ".format(x, y, y * x), end="")
    print("")
